package com.turbo.cloud.ums.web.model.component;

import com.turbo.cloud.core.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 组件权限表
 * </p>
 *
 * @author zhangluning
 * @since 2022-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Accessors(chain = true)
public class UmsMenuComponentVo extends BaseModel {

    /**
     * 菜单ID
     */
    private String menuId;

    /**
     * 路由地址
     */
    private String routerPath;

    /**
     * 组件ID列表
     */
    private List<String> componentCodes;

    /**
     * 组件列表（授权给角色的）
     */
    private List<UmsComponentVo> components;
}
